package com.sws.weixin.button;

/**
 * @author Thor
 * @公众号 Java架构栈
 */
public class ViewButton extends AbstractButton{

    public ViewButton(String name,String url) {
        super(name);
        this.type = "view";
        this.url = url;
    }
    private String type;
    private String url;

    public String getType() {
        return type;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }
}
